package com.songshuai.webapi.jobapi.dao.edu;

import com.songshuai.webapi.jobapi.model.edu.TpoStudentScheduleShiTing;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: Administrator
 * @Date: 2018/10/31 0031 21:11
 * @Description:
 */
public interface StudentScheduleShiTingMapper {
    /**
     *
     * @param begin
     * @param limit
     * @return
     */
    List<TpoStudentScheduleShiTing>getStudentScheduleShiTingByUpdateTime(@Param("begin") String begin,
                                                                         @Param("end")String end,
                                                                         @Param("size") Integer limit,
                                                                         @Param("offset") Integer offset);

    /**
     *
     * @param begin
     * @param limit
     * @return
     */
    List<TpoStudentScheduleShiTing>getShitingStatusChanges(@Param("begin") String begin,
                                                           @Param("end")String end,
                                                           @Param("size") Integer limit,
                                                           @Param("offset") Integer offset);

    /**
     *
     * @param lessonIds
     * @return
     */
    List<TpoStudentScheduleShiTing>getStudentScheduleShiTingByLessonIds(@Param("lessonIds") List<Integer> lessonIds);

    /**
     * 根据官网id获取
     * @param gw_id
     * @return
     */
    List<Integer>selectLessonIdsByGwId(@Param("gw_id") Long gw_id);
}
